/*

	TextureLoaders.h
	
	Methods for loading textures from
	various file types. Uses the SDL_image
	library for getting the files as
	SDL surfaces.
	
	Written by Sigurd Suhm 2009

*/

#ifndef _TEXTURELOADERS_H
#define _TEXTURELOADERS_H

// Includes
#include "Texture.h"		// Texture class header

namespace EraAstral
{
	using namespace graphics;
	
	// Loads a texture from a Windows bitmap
	extern Texture *LoadBMP(const char *fileName);
	
	// Loads a texture from a jpeg file
	extern Texture *LoadJPG(const char *fileName);
	
	// Loads a texture from a PNG
	extern Texture *LoadPNG(const char *fileName);
}

#endif		// _TEXTURELOADERS_H
